package org.neogenesis.web.controller;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
import javax.inject.Named;

@Named
@SessionScoped
public class TableBean implements Serializable{
	
	private List<ExperimentAnalysis> exp;
	private ExperimentAnalysis selectedExperiment;
	

	public TableBean() {
		exp = new ArrayList<ExperimentAnalysis>();
		exp.add(new ExperimentAnalysis("GPLXX", "GSP23", "Homo Sapiens", "null"));
		exp.add(new ExperimentAnalysis("GLP54", "GSII00", "Homo Sapiens", "null"));
		exp.add(new ExperimentAnalysis("GPLXX", "GSP24", "Homo Sapiens", "null"));
	}
	
	public List<ExperimentAnalysis> getExp() {
		return exp;
	}
	public void setExp(List<ExperimentAnalysis> exp) {
		this.exp = exp;
	}
	public ExperimentAnalysis getSelectedExperiment() {
		return selectedExperiment;
	}
	public void setSelectedExperiment(ExperimentAnalysis selectedExperiment) {
		this.selectedExperiment = selectedExperiment;
	}

}
